#include "xmlreader.h"
#include <iostream>
#include "xmlsaxhandler.h"
#include "workspacefactory.h"
using namespace std;

void XMLReader::read(const QString &name){
    QFile file(name);
    XMLSaxHandler handler;
    QXmlInputSource source( &file );
    QXmlSimpleReader reader;
    reader.setContentHandler( &handler );
    reader.parse(source);
}
